import {request} from './request';
import {routerPath} from "@/common/constant";

export function getDetail(iid) {
    return request({
        url: routerPath.detail,
        params: {
            iid
        }
    })
}

export function getRecommend() {
    return request({
        url: '/recommend'
    })
}